
import 'package:flutter/cupertino.dart';

// 切换底部导航栏
class CurrentIndexProvide with ChangeNotifier{

  int currentIndex = 0;

  changIndex(int newIndex){
    currentIndex = newIndex;
    notifyListeners();
  }

}